package com.sky.service;

import com.sky.dataTransmit.EmployeeDTO;
import com.sky.dataTransmit.EmployeeLoginDTO;
import com.sky.dataTransmit.PasswordEditDTO;
import com.sky.entity.Employee;
import com.sky.result.PageResult;

public interface EmployeeService {

    Employee login(EmployeeLoginDTO employeeLoginDTO);

    void insert(EmployeeDTO employeeDTO);

    PageResult getList(String name, Integer page, Integer pageSize);

    void updateStatus(Integer status,Long id);

    void updateUserInfo(Employee employee);

    Employee getInfoById(Integer id);

    void editPassword(PasswordEditDTO passwordEditDTO);
}
